package drds.server.config.loader;

import java.util.Map;

import drds.server.config.cluster.ClusterConfig;
import drds.server.config.model.DRDS;
import drds.server.config.model.GroupDataSourceConfig;
import drds.server.config.model.GroupDataSourceNodeConfig;
import drds.server.config.model.Schema;
import drds.server.config.model.User;

/**
 * 
 * 
 * @author 曹正辉<330937205@qq.com>
 */
public interface Config {
	Schema getSchema(String schema);

	Map<String, Schema> getSchemaMap();

	Map<String, GroupDataSourceNodeConfig> getGroupDataSourceNodeConfigMap();

	Map<String, GroupDataSourceConfig> getGroupDataSourceConfigMap();

	DRDS getSystemConfig();

	User getUser(String user);

	Map<String, User> getUserMap();

	ClusterConfig getClusterConfig();
}